from launch_ros.actions import Node
from launch import LaunchDescription

def generate_launch_description():
    return LaunchDescription([
        Node(
            package='topic_pkg',
            executable='publisher_node',
        ),
        Node(
            package='topic_pkg',
            executable='subscriber_node',
        )
    ])